package _spring_test._tests;

import _spring_test.Department;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: huangya
 * @Date: 2019/10/9
 * @Description:
 */
public class DependsOnTest {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("application-depends-on.xml");
        Department department = (Department) ac.getBean("department");
        System.out.println(1);
    }
}
